/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       bmploader.h
 * Author:     karooolek
 * Created on: 2009-03-22
 *
 **********************************************************************************************************************/

#ifndef BMPLOADER_H_
#define BMPLOADER_H_

#include "imageloader.h"

namespace mGameEngine
{
namespace Graphics
{

/**
 * BMP image loader.
 */
class BMPLoader : public ImageLoader
{
public:
    /**
     * Create BMP image loader with no file name specified.
     */
    BMPLoader();

    /**
     * Create BMP image file loader with specified file name.
     * @param filename BMP image file name to load
     */
    BMPLoader(const String &filename);

    /**
     * Destroy BMP image file loader.
     */
    ~BMPLoader();

    /**
     * Load image from BMP file.
     */
    void load();
};

}
}

#endif // BMPLOADER_H_
